Integrand size = 36, antiderivative size = 17 \[ \int \frac {a B+b B \cos (c+d x)}{\sqrt {\cos (c+d x)} (a+b \cos (c+d x))} \, dx=\frac {2 B \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{d} \]
[Out]
Time = 0.01 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.056, Rules used = {21, 2720} \[ \int \frac {a B+b B \cos (c+d x)}{\sqrt {\cos (c+d x)} (a+b \cos (c+d x))} \, dx=\frac {2 B \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{d} \]
[In]
[Out]
Rule 21
Rule 2720
Rubi steps \begin{align*} \text {integral}& = B \int \frac {1}{\sqrt {\cos (c+d x)}} \, dx \\ & = \frac {2 B \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{d} \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.00 \[ \int \frac {a B+b B \cos (c+d x)}{\sqrt {\cos (c+d x)} (a+b \cos (c+d x))} \, dx=\frac {2 B \operatorname {EllipticF}\left (\frac {1}{2} (c+d x),2\right )}{d} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.49 (sec) , antiderivative size = 19, normalized size of antiderivative = 1.12
method | result | size |
default | \(\frac {2 B \,\operatorname {am}^{-1}\left (\frac {d x}{2}+\frac {c}{2}| \sqrt {2}\right )}{d}\) | \(19\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.09 (sec) , antiderivative size = 53, normalized size of antiderivative = 3.12 \[ \int \frac {a B+b B \cos (c+d x)}{\sqrt {\cos (c+d x)} (a+b \cos (c+d x))} \, dx=\frac {-i \, \sqrt {2} B {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) + i \, \sin \left (d x + c\right )\right ) + i \, \sqrt {2} B {\rm weierstrassPInverse}\left (-4, 0, \cos \left (d x + c\right ) - i \, \sin \left (d x + c\right )\right )}{d} \]
[In]
[Out]
Timed out. \[ \int \frac {a B+b B \cos (c+d x)}{\sqrt {\cos (c+d x)} (a+b \cos (c+d x))} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {a B+b B \cos (c+d x)}{\sqrt {\cos (c+d x)} (a+b \cos (c+d x))} \, dx=\int { \frac {B b \cos \left (d x + c\right ) + B a}{{\left (b \cos \left (d x + c\right ) + a\right )} \sqrt {\cos \left (d x + c\right )}} \,d x } \]
[In]
[Out]
\[ \int \frac {a B+b B \cos (c+d x)}{\sqrt {\cos (c+d x)} (a+b \cos (c+d x))} \, dx=\int { \frac {B b \cos \left (d x + c\right ) + B a}{{\left (b \cos \left (d x + c\right ) + a\right )} \sqrt {\cos \left (d x + c\right )}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {a B+b B \cos (c+d x)}{\sqrt {\cos (c+d x)} (a+b \cos (c+d x))} \, dx=\int \frac {B\,a+B\,b\,\cos \left (c+d\,x\right )}{\sqrt {\cos \left (c+d\,x\right )}\,\left (a+b\,\cos \left (c+d\,x\right )\right )} \,d x \]
[In]
[Out]